package com.xiaobingby.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;

/**
 * Created by XiaoBingBy on 2017/8/24.
 */
@Controller
public class LoginController {

    @RequestMapping(value = "/login")
    public String login(HttpServletRequest request) {
        String exceptionClassName  = (String) request.getAttribute("shiroLoginFailure");
        return "admin/login";
    }

}
